package com.xiaoyy.sso.core.dao.mapper;

import com.xiaoyy.sso.core.dao.model.SysFunction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统方法表 Mapper 接口
 * </p>
 *
 * @author chenzh
 * @since 2020-06-17
 */
@Mapper
public interface SysFunctionMapper extends BaseMapper<SysFunction> {
    /**
     * 获取用户的功能权限
     * */
    List<String> selectApiByUserId(@Param("userId") String userId);
}
